package com.example.cstvdemoone.fragments;

import com.example.cstvdemoone.R;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;

public class UserFragment extends Fragment {
	private View containerView;
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		containerView = inflater.inflate(R.layout.fragment_user, null);
		LinearLayout userInfoContainer = (LinearLayout) containerView.findViewById(R.id.user_info_container);
		userInfoContainer.addView(new User(getActivity(), getActivity()).getView());
		return containerView;
	}
}
